<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <form>
        <div class="field">
            <label for="name">名称</label>
            <input type="text" id="name">
            <button type="submit" class="btn" id="validateBtn">验证</button>
            <p class="tip">必填， 长度为4~16个字符</p>
        </div>
    </form>
    <script src="script.js"></script>
</body>
</html>